package org.sixtythousand.joker.servlet.session;

import org.sixtythousand.joker.util.LifeCycle;

import javax.servlet.http.HttpSession;

/**
 * @author zhoulk
 * @date 2023/10/13 17:25
 * @desc
 */
public interface SessionCache extends LifeCycle {

    void cacheSession(String id, Session session);

    HttpSession getSession(String id);

    void release(String id, Session session);
}
